home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++,comp.lang.perl.misc
- Path: walter.cray.com!roehrich
- From: roehrich@cray.com (Dean Roehrich)
- Subject: Re: pattern matching in C++
- Message-ID: <1996Mar25.104516.17979@walter.cray.com>
- Nntp-Posting-Host: poplar501.cray.com
- Organization: Cray Research, Inc.
- References: <4j50ot$gn6@bobcat.csusm.edu>
- Date: 25 Mar 96 10:45:15 CST
-
- In article <4j50ot$gn6@bobcat.csusm.edu>,
- Todd Federman <feder001@mailhost.csusm.edu> wrote:
- > How do you do perl-type pattern matching in C++? I'm writing C++ classes
- >for myself with methods that mimic perl functions, and I want to implement
- >pattern matching. Do I have to start from scratch?
-
- A few years ago someone was creating C++ classes that do about the same
- thing. I don't remember who it was or what the package was called, but I'm
- sure it can be found on some archive somewhere (but probably not on CPAN).
-
- I think if I were in this situation I would just link libperl.a into my C++
- app and use the real thing. Consult the perlembed and perlcall manpages in
- the Perl 5.002 distribution.
-
- Dean
- roehrich@cray.com
-